#ifndef _SEND_TO_SERVER_H
#define _SEND_TO_SERVER_H


#include "common.h"


typedef enum {
    UP = 1,
    DOWN,
    LEFT,
    RIGHT,
    NONE_DIR
}SnakeDir;


typedef struct
{
    GameCmd cmd;
    SnakeDir dir;  
}ClientData;



void set_client_data(ClientData *cdata, GameCmd cmd, SnakeDir dir);

void *send_data(void *arg);

#endif